<HTML><HEAD><TITLE>reals(?Vars)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(suspend)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>reals(?Vars)</H1>
Constrain Vars to be a number or list of numbers
<DL>
<DT><EM>Vars</EM></DT>
<DD>List of variables or numbers
</DD>
</DL>
<H2>Description</H2>
    This constraint suspends until its argument is ground. It then succeeds
    iff Vars is a number or a list of numbers (any type).
<H3>Fail Conditions</H3>
Vars contains non-numbers.
<H2>Examples</H2>
<PRE>
    ?- reals(L), L = [3.4, 7].
    L = [3.4, 7]
    Yes (0.00s cpu)

    </PRE>
<H2>See Also</H2>
<A HREF="../../lib/suspend/NN-2.html">:: / 2</A>, <A HREF="../../lib/suspend/SNN-2.html">$:: / 2</A>, <A HREF="../../lib/suspend/integers-1.html">integers / 1</A>
</BODY></HTML>
